// 封装获取订单相关的接口

import httpInstance from "@/utils/http";

// 获取用户订单列表
/**
 *
 * @param {
    orderState: 0, // 订单状态
    page: 1, // 页码
    pageSize: 10 // 每页数量
   } params
 * @returns
 */
export const getUserOrderAPI = (params) => {
  return httpInstance({
    url: "/member/order",
    method: "GET",
    params
  })
};
